#@layout("游戏记录")
#define main()
<body class="timo-layout-page">
    <div class="layui-card">
        <div class="layui-card-header timo-card-header">
            <span><i class="fa fa-bars"></i>游戏记录</span>
            <i class="layui-icon layui-icon-refresh refresh-btn"></i>
        </div>
        <div class="layui-card-body">
            <div class="layui-row timo-card-screen">
                <div class="pull-left layui-form-pane timo-search-box">
                    <div class="layui-inline">
                        <label class="layui-form-label">会员昵称</label>
                        <div class="layui-input-block">
                            <input type="text" name="goodsGame.nickName" value="#(goodsGame.nickName ??)" placeholder="请输入用户呢称" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <button class="layui-btn timo-search-btn">
                            <i class="fa fa-search"></i>
                        </button>
                    </div>
                </div>
                <div class="pull-right screen-btn-group">
                    <div class="btn-group">
                        <button class="layui-btn">操作<span class="caret"></span></button>
                        <dl class="layui-nav-child layui-anim layui-anim-upbit">
                            <dd><a class="ajax-status" href="#(ctxAd)/goods/game/refund" >退币</a></dd>
                        </dl>
                    </div>
                </div>
            </div>
            <table class="layui-table timo-table">
                <thead>
                <tr>
                    <th class="timo-table-checkbox">
                        <label class="timo-checkbox"><input type="checkbox"><i class="layui-icon layui-icon-ok"></i></label>
                    </th>
                    <th>用户昵称</th>
                    <th>商品图片</th>
                    <th>商品名称</th>
                    <th>消耗积分</th>
                    <th>关卡</th>
                    <th>状态</th>
                    <th>结果[result:2为成功]</th>
                    <th class="sortable" data-field="createTime">开始时间</th>
                    <th>结束时间</th>
                </tr>
                </thead>
                <tbody>
                #for(item : page.list)
	                <tr >
	                    <td><label class="timo-checkbox"><input type="checkbox" value="#(item.id)"><i class="layui-icon layui-icon-ok"></i></label></td>
	                    <td>#(item.nick_name)</td>
	                    <td><img alt="图像" src="#image(item.goods_image)"></td>
	                    <td>#(item.goods_name)</td>
                        <td>#number(item.expAmt,'#.##')</td>
                        <td>#(item.screen)</td>
                        <td>#(joyDict.getDictLabel(item.status.toString(),'goods_game_status','未知'))</td>
                        <td>#(item.gameResult ??)</td>
                        <td>#date(item.createTime, "yyyy-MM-dd HH:mm:ss")</td>
                        <td>#date(item.updateTime, "yyyy-MM-dd HH:mm:ss")</td>
	                </tr>
                #end
                </tbody>
            </table>
            <!-- page -->
            #include("../../common/page.html", url=pageUrl)
            <!-- page end -->
        </div>
    </div>
</body>
#end